home *** CD-ROM | disk | FTP | other *** search
- global gCounter, gStartTime, gPicOffset, gNumOTimes, gSlotsFlag, cSlotOffset, cBlurCastOffset, cBlurCastOffset2
-
- on mouseUp
- set gNumOTimes to gNumOTimes + 1
- if gNumOTimes = 2 then
- set gStartTime to the ticks
- set gCounter to 0
- set gPicOffset to 37
- repeat with t = 1 to 4
- reset(getAt(gSlotObjList, t))
- set the castNum of sprite (t + cSlotOffset) to t + cBlurCastOffset
- end repeat
- updateStage()
- go("start")
- exit
- end if
- if gNumOTimes = 3 then
- set gStartTime to the ticks
- set gCounter to 0
- set gPicOffset to 57
- repeat with t = 1 to 4
- resetForSlots(getAt(gSlotObjList, t))
- set the castNum of sprite (t + cSlotOffset) to t + cBlurCastOffset2
- end repeat
- updateStage()
- set gSlotsFlag to 1
- go("PlaySlots")
- exit
- end if
- if gNumOTimes > 3 then
- set gStartTime to the ticks
- set gCounter to 0
- repeat with t = 1 to 4
- reset(getAt(gSlotObjList, t))
- set the castNum of sprite (t + cSlotOffset) to t + cBlurCastOffset
- end repeat
- updateStage()
- set gPicOffset to 22
- set gNumOTimes to 1
- set gSlotsFlag to 0
- go("start")
- exit
- end if
- end
-